apiVersion: secrets-store.csi.x-k8s.io/v1alpha1
kind: SecretProviderClass
metadata:
  name: vault-application
spec:
  provider: vault
  parameters:
    vaultAddress: "http://vault.vault.svc:8200"
    roleName: "application"
    objects: |
      - objectName: "application"
        secretPath: "secret/data/application"
        secretKey: "application"
      - objectName: "user"
        secretPath: "secret/data/application"
        secretKey: "user"
      - objectName: "password"
        secretPath: "secret/data/application"
        secretKey: "password"